package com.chanzany.adapter.interfaceBased;

public class Power5VAdapter extends PowerAdapter {
    public Power5VAdapter(Voltage220V voltage220V) {
        super(voltage220V);
    }

    @Override
    public int output5V() {
        int output = 0;
        if (voltage220V!=null){
            output = voltage220V.output220V() / 44;
        }
        return output;
    }
}
